namespace Resharper.Abstractions.CodeDom.Statements.DoStatements
{
  using JetBrains.Annotations;
  using JetBrains.ReSharper.Psi.CSharp.Tree;

  /// <summary>Defines the <see cref="DoStatement"/> class.</summary>
  public class DoStatement : Statement
  {
    #region Constructors and Destructors

    /// <summary>Initializes a new instance of the <see cref="DoStatement"/> class.</summary>
    /// <param name="statement">The statement.</param>
    internal DoStatement([NotNull] IDoStatement statement) : base(statement)
    {
    }

    #endregion

    #region Properties

    /// <summary>
    /// Gets the internal for statement.
    /// </summary>
    [NotNull]
    internal IDoStatement InternalDoStatement
    {
      get
      {
        return (IDoStatement)this.InternalStatement;
      }
    }

    #endregion
  }
}